showName()
console.log(myname);

var myname = 'cmx'
function showName() {
    console.log('函数showName被执行')
}


/* // === 下面是编译
var myname
function showName() {
    console.log('函数showName');
}
showName()
console.log(myname);
myname = 'cmx'
 */